/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package lu.med.praxiswahl.wahlumed.service.beans.serviceinterface;

import lu.med.praxiswahl.wahlumed.model.beans.DoctorLettersTemplateTBL;

/**
*
* @author Patrick kendzo
* Email: pkendzo@msn.com
*/
public interface DoctorLetterTemplateServiceInt {
	
	public static final int	RET_Ordonancen_NOT_FOUND	= 1;
	public static final int	RET_OPERATION_DONE_PROPERLY	= 0;
	public static final int	RET_OPERATION_FAILED		= 2;

	/* Liefert alle vorhandene Ordonancen eines Bestimmten Typs zur�ck */
	public Long[] getDoctorLetterVorlagenBy_Typ(String typ);
	public String getDoctorLetterTemplateMainTxt(Long id);      
	public String getDoctorLetterTemplateLabel(Long id);    
    public void getDoctorLetterTemplate(Long id);
    public DoctorLettersTemplateTBL[] getAllDoctorLetterTemplate();
    public int createDoctorLetterTemplate(String label, String typ, String text);
	public int deleteDoctorLetterTemplate(Long id);
	public void updateActualDoctorLetterTemplate(Long id, String label, String text);
	public void getA_DoctorLetterTemplateInstance(DoctorLettersTemplateTBL tmpDocLetterTempl);

}
